﻿
@if (Model.AudioState == EditState.Preview)
{
    <div class="mb-3">

        <CnGalWebSite.Shared.MasaComponent.Shared.Editors.Buttons.RevokeButton Url="@("/entries/EditAudio/" + Model.Id)" ExamineType="Operation.EstablishAudio" OnClickRevoke="OnRevoke" />
    </div>
}

<CnGalWebSite.Components.Containers.MasaTitleContainer Title="音频试听" Icon="@IconType.Audio.ToIconString()">
    <CnGalWebSite.Components.Audios.AudioCard Model="Model.Audio"/>
</CnGalWebSite.Components.Containers.MasaTitleContainer>

@code {
    [Parameter]
    public EntryIndexViewModel Model { get; set; }
    [Parameter]
    public EventCallback<Operation> OnRevoke { get; set; }
}
